package builder;

public class Product {
    private String food;
    private int price;
    private String drink;
    private boolean canteen;

    public Product() {
        this.food = "白米饭";
        this.price = 10;
        this.drink = "汤";
        this.canteen = true;
    }

    public Product(String food, int price, String drink, boolean canteen) {
        this.food = food;
        this.price = price;
        this.drink = drink;
        this.canteen = canteen;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getDrink() {
        return drink;
    }

    public void setDrink(String drink) {
        this.drink = drink;
    }

    public boolean isCanteen() {
        return canteen;
    }

    public void setCanteen(boolean canteen) {
        this.canteen = canteen;
    }
}
